package com.e3.basdoc.corp.client;

import java.util.List;

import com.e3.basdoc.corp.model.CorpModel;
import com.e3.basdoc.corp.model.CorpQC;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface CorpRPCServiceAsync {

	void deleteCorps(List<CorpModel> corpModels, AsyncCallback<Void> callback);

	void getCorpById(String id, AsyncCallback<CorpModel> callback);

	void getCorpChildren(CorpModel corpModel, AsyncCallback<List<CorpModel>> callback);

	void getCorpsByCondition(CorpQC corpQC, AsyncCallback<List<CorpModel>> callback);

	void modifyCorp(CorpModel corpModel, AsyncCallback<CorpModel> callback);

	void newCorp(CorpModel corpModel, AsyncCallback<CorpModel> callback);

}
